package com.youlai.boot.modules.comment.model;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "评论表单对象")
@Data
public class CommentForm {
    private Long id;

    @NotBlank(message = "评论内容不能为空")
    private String content;

    @NotNull(message = "商户ID不能为空")
    private Long merchantId;

    private Long parentId;
    private Long rootId;

    @NotNull(message = "用户ID不能为空")
    private Long userId;

    private Long replyToUserId;
    private Integer status;
}